sendMessage

fun sendMessage(userMessage: String)

Sends a message from the user to the chatbot. Also triggers the chatbot's response simulation.

Parameters

userMessage

The message input by the user.